package com.ccrfid.rmc6.repository.business.patrol;

import com.ccrfid.rmc6.entity.business.patrol.PatrolLocationOverallEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface PatrolLocationOverallRepository extends Repository<PatrolLocationOverallEntity, Long> {
    //
    List<PatrolLocationOverallEntity> getAllByScheduleId(Long scheduleId);
    //
    PatrolLocationOverallEntity save(PatrolLocationOverallEntity entity);
    //
    void deleteAllByScheduleId(Long scheduleId);
}
